<?php
@session_start();
$link=mysql_connect("localhost", "root", "");
if(!$link){
	echo "not connected to database";
}

mysql_select_db("techworks");

$id = $_SESSION['plan_id'];
$Services= $_POST['products'];
$Pricing= $_POST['pricing'];
$LifeCycle= $_POST['life-cycle'];
$IntelectualRights= $_POST['property-rights'];
$ResDev= $_POST['randd'];



$q= mysql_query ("insert into tw_services_line(`plan_id`, `products_services`, `pricing_structure`, `life_cycle`, `intelectual_right`, `research_dev`)
 values ('$id', '$Services', '$Pricing', '$LifeCycle', '$IntelectualRights', '$ResDev')");

if($q){
	$_SESSION['aps']= "success";
	header("location: ../incubatee/wizard.php#tab_tab5 ");


		
}else {
	//echo mysql_error();
	header("location: ../incubatee/wizard.php#tab_tab5");


}


?>